package com.powernode.pojo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


@ToString
@Data
@Table(name = "goods")
public class Goods {

    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "g_id")
    private String g_id;

    @Column(name = "g_name")
    private String g_name;

    @Column(name = "g_price")
    private Double g_price;

}
